﻿/*
* This file is part of WinMergeFS.
*
* WinMergeFS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.

* WinMergeFS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with WinMergeFS.  If not, see <http://www.gnu.org/licenses/>.
*/

// Represents one MergeFS settingsprofile

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WinMergeFS.Common
{
    /// <summary>
    /// Represents a single profile and its settings.
    /// </summary>
    public class Profile
    {
        private char _driveletter;
        private string _description;
        private string _volumeid;
        private List<RootEntry> _roots;
        private Dictionary<string, ProfilePluginEntry> _plugins;

        public Profile(string Description, string VolumeID, char DriveLetter, List<RootEntry> Roots, Dictionary<string, ProfilePluginEntry> Plugins)
        {
            _description = Description;
            _volumeid = VolumeID;
            _driveletter = DriveLetter;
            _roots = Roots;
            _plugins = Plugins;
        }


        /// <summary>
        /// </summary>
        public String VolumeID
        {
            get
            {
                return _volumeid;
            }
            set
            {
                _volumeid = value;
            }
        }

        public char DriveLetter
        {
            get
            {
                return _driveletter;
            }
            set
            {
                _driveletter = value;
            }
        }

        public string Description
        {
            get
            {
                return _description;
            }
            set
            {
                _description = value;
            }
        }

        public List<RootEntry> Roots
        {
            get
            {
                return _roots;
            }
            set
            {
                _roots = value;
            }
        }

        public Dictionary<string, ProfilePluginEntry> Plugins
        {
            get
            {
                return _plugins;
            }
            set
            {
                _plugins = value;
            }
        }
    }
}
